MailPoet\Automation\Integrations\MailPoet\Analytics\Controller\FreeOrderController S

Total Complexity 22
Dependencies 14
Dependents 3
Total lines 163
Lines of code 124
Logical lines of code 48
Comment lines 10
Methods 8
Properties 5

Methods 8

Method Rating Maintainability Complexity Lines of code
addItem()
A
44 8 44
getOrdersForAutomation()
S
52 2 29
getRandomOrder()
S
65 3 8
getEmailsFromAutomation()
S
65 3 9
getRandomSubscriber()
S
61 2 12
getRandomEmailFromAutomation()
S
74 2 4
findRandomDateBetween()
S
62 1 11
__construct()
S
69 1 7